package com.example.lib_storage.database

import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.lib_storage.database.dao.HistoryDao
import com.example.lib_storage.database.dao.TakeVideoDao
import com.example.lib_storage.database.entity.HistoryEntity
import com.example.lib_storage.database.entity.TakeVideoEntity

/**
 * @author yaotianxue
 * @description
 * @date 2024/10/23
 */
@Database(entities = [HistoryEntity::class,TakeVideoEntity::class],version = 2,exportSchema = false)
abstract class AppDataBase:RoomDatabase() {
    abstract fun historyDao(): HistoryDao
    abstract fun takeVideoDao(): TakeVideoDao
}